package com.hanyi.mvc.domain;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class User {
    private String username;
    private Integer id;
    private String sex;
    private String password;

    public User(String username, Integer id, String sex) {
        this.username = username;
        this.id = id;
        this.sex = sex;
    }
}
